 #define dic_get_select(params)

	#set(dicTypeCode="")
	#set(dicInfoValue="")
	#set(attributes="")
	
	#for(param:params)
		#if(param.key=="dicTypeCode")
			#set(dicTypeCode=param.value)
		#elseif(param.key=="dicInfoValue")
			#set(dicInfoValue=param.value)
		#else
			#set(attributes=attributes+" "+param.key+"="+"\""+param.value+"\"")
		#end
	#end

 	<select #(attributes)>
 		<option value="">---请选择--</option>
 		#for(dicInfo:DicCacheStatic.getDicInfos(dicTypeCode))
			<option value="#(dicInfo.code)" #(dicInfo.code==dicInfoValue?'selected':'')>#(dicInfo.name)</option>
		#end
 	</select>
 #end